package day1;

public class Test1 {
    public static void main(String[] args) {
//        int gameMoney = 2147483647;
//        gameMoney = gameMoney + 1000000;
//        System.out.println(gameMoney);
        // 输出byte，short，int，long各自存储的最小和最大范围
        System.out.println("byte:" + Byte.MIN_VALUE + "~" + Byte.MAX_VALUE);
        System.out.println("short:" + Short.MIN_VALUE + "~" + Short.MAX_VALUE);
        System.out.println("int:" + Integer.MIN_VALUE + "~" + Integer.MAX_VALUE);
        System.out.println("long:" + Long.MIN_VALUE + "~" + Long.MAX_VALUE);

    }
}
